home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 30
/
Amiga Format AFCD30 (Sep 1998, Issue 114).iso
/
-seriously_amiga-
/
workbench
/
-datatypes-
/
mpegsystem
/
mpegsystemtest
< prev
next >
Wrap
Text File
|
1998-06-18
|
650b
|
30 lines
; mpegsystem.datatype test script
; Execute it from the base directory
FailAt 10
Set ECHO ON
; Is here the datatype shared library ?
If EXISTS "mpegsystem.datatype.ld"
; Check if we created the test directory
If NOT EXISTS "RAM:DataTypes"
MakeDir "RAM:DataTypes"
Assign LIBS: RAM: ADD
EndIf
; Copy descriptor
If NOT EXISTS "RAM:MPEG System"
Copy CLONE FROM="MPEG System(%|.info)" TO="RAM:"
EndIf
; Copy class library
Copy CLONE FROM="mpegsystem.datatype.ld" TO="RAM:Datatypes/mpegsystem.datatype"
; Get rid of the old version
C:FlushLibs
Else
ECHO "No mpegsystem.datatype.ld in this directory"
Quit 10
EndIf